<?php
namespace app\common\model;

use think\Model;
use think\Session;

class Weijump extends Model
{
    protected $insert = ['create_time','admin_id'];

    protected function setCreateTimeAttr(){
        return time();
    }

    protected function setAdminIdAttr(){
        return Session::get('admin_id');
    }


}